]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: being able to use keyboard to connect to a Wireless
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 14 Oct 2013 15:42:55 +0000 (17:42 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 15 Oct 2013 17:10:38 +0000 (19:10 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=710144

js/ui/status/network.js

index fdd95a755d42bc4b6a3097b9db2e1dac6c8449ab..4a7b4450d795e45c7b06f7c7b2f2e74d2994474e 100644 (file)
@@ -972,6 +972,9 @@ const NMWirelessDialog = new Lang.Class({
             Util.ensureActorVisibleInScrollView(this._scrollView, network.item.actor);
             this._selectNetwork(network);
         }));
+        network.item.actor.connect('clicked', Lang.bind(this, function() {
+            this._connect();
+        }));
     },
 });